package com.yzj.Client;

import com.yzj.pojo.Emp;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;
@Component
public class EmpClientImpl implements  EmpClient{
    @Override
    public String hello(String name,String token) {
        return "服务完全不可用，降级处理";
    }

    @Override
    public Emp selectOne(Emp emp) {
        return new Emp();
    }

    @Override
    public Map<String, Object> map(Map<String, Object> map) {
        return new HashMap<>();
    }
}
